Hi,
I am trying to switch from the standard uncompressed SC JS libs to the compressed ones but am having no luck getting the setup right. I have
searched the SC docs but I am still stuck i.e. FF/Firebug reports illegal
characters when receiving a *.js.gz file's contents.
I am deploying to Tomcat 6.x and browsing with IE/FF.
I mod'd Tomcat's server.xml to contain:
after googling (and suspecting that the HTTP Response Header: Content-Encoding needed to be set to gzip, it was unset by default)
and troubleshooting with Firebug/Fiddler2.
My page header currently looks like:
but I've also tried the file extensions: *.js.gz, *_js.gz, *_gz.js
Feeling a bit lost, could be all the chocolates I've consumed...
TIA
I am trying to switch from the standard uncompressed SC JS libs to the compressed ones but am having no luck getting the setup right. I have
searched the SC docs but I am still stuck i.e. FF/Firebug reports illegal
characters when receiving a *.js.gz file's contents.
I am deploying to Tomcat 6.x and browsing with IE/FF.
I mod'd Tomcat's server.xml to contain:
Code:
compression="on" compressableMimeType="text/javascript,application/javascript,application/x-gzip"
and troubleshooting with Firebug/Fiddler2.
My page header currently looks like:
Code:
<SCRIPT SRC="isomorphic/system/modules/ISC_Core.gz.js"></SCRIPT>
Feeling a bit lost, could be all the chocolates I've consumed...
TIA
Comment